<%@page contentType="text/css" %>

<%@page import="edu.ncsu.csc.itrust.action.ViewHelperAction"%>

<%@include file="/global.jsp" %>
<%
String primaryColor = "";
String secondaryColor = "ccffcc";
String tertiaryColor = "effce4";
String quaternaryColor = "ddffdd";
String quinaryColor = "effce4";

String backgroundColor = "F0F0F0"; 
String linkColor = "10178A";
String borderColor = "2189b8";
String calendarHeadingColor = "91c05e";
String calendarBgColor = "FFF";
String calendarTodayColor = "f9e275";
String formTitleColor = primaryColor;
String formBackgroundColor = secondaryColor;
String formBackgroundColor2 = tertiaryColor;
String formBackgroundColor3 = quaternaryColor;
String formHeadingBgColor = primaryColor;
String formHeadingBgColor2 = primaryColor;
String hoverColor = "beeebe";

String patientPrimary = "CCFF99";
String patientSecondary = "daffb5";
String patientTertiary = "eaffd6";

String hcpPrimary = "CCFF99";
String hcpSecondary = "daffb5";
String hcpTertiary = "eaffd6";

String erPrimary = "CCFF99";
String erSecondary = "daffb5";
String erTertiary = "eaffd6";

String adminPrimary = "CCFF99";
String adminSecondary = "daffb5";
String adminTertiary = "eaffd6";

String ltPrimary = "CCFF99";
String ltSecondary = "daffb5";
String ltTertiary = "eaffd6";

%>

/* General Content classes */
body {
	font: normal 100% "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif !important;
	width: 95%;
	margin-left: auto;
	margin-right: auto;	
	padding: 0px;
	background-color: <%= backgroundColor %>;
	color: #<%= formTitleColor %>;
	position: relative;
}

#container {
	margin: 0 auto;
  	width: 10px;
}

a {
	color: #<%= linkColor %>;
	font-size: 100%;
}

h1 {
	background-color: #<%= formBackgroundColor %>;
	font-size: 200%;
	font-weight: bold;
	margin: 0px 0px 8px 0px;
	padding: 3px;
	text-align:center;
	
	/*rounded corners*/
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -khtml-border-radius: 7px;
    border-radius: 7px;
}

h2{
	background-color: #<%= formBackgroundColor2 %>;
	font-size: 150%;
	font-weight: bold;
	margin: 0px 0px 8px 0px;
	padding: 3px;
	text-align:left;
	
	/*rounded corners*/
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -khtml-border-radius: 7px;
    border-radius: 7px;
}

h3 {
	background-color: #<%= formBackgroundColor %>;
	font-size: 100%;
	font-weight: bold;
	margin: 0px 0px 8px 0px;
	padding: 3px;
	text-align:center;
	
	/*rounded corners*/
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -khtml-border-radius: 7px;
    border-radius: 7px;
}

#aboutUs {
	background-color: #<%= formBackgroundColor2 %>;
	font-size: 100%;
	margin: 0px 0px 8px 0px;
	padding: 20px;
	text-align:left;
	
	/*rounded corners*/
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -khtml-border-radius: 7px;
    border-radius: 7px;
}

#patientTertiary {
	background-color: #<%= patientTertiary %>;
	font-size: 100%;
	margin: 0px 0px 8px 0px;
	padding: 3px;
	text-align:left;
	
	/*rounded corners*/
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -khtml-border-radius: 7px;
    border-radius: 7px;
}

#hcpTertiary {
	background-color: #<%= hcpTertiary %>;
	font-size: 100%;
	margin: 0px 0px 8px 0px;
	padding: 3px;
	text-align:left;
	
	/*rounded corners*/
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -khtml-border-radius: 7px;
    border-radius: 7px;
}

#adminTertiary {
	background-color: #<%= adminTertiary %>;
	font-size: 100%;
	margin: 0px 0px 8px 0px;
	padding: 3px;
	text-align:left;
	
	/*rounded corners*/
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -khtml-border-radius: 7px;
    border-radius: 7px;
}

#erTertiary {
	background-color: #<%= erTertiary %>;
	font-size: 100%;
	margin: 0px 0px 8px 0px;
	padding: 3px;
	text-align:left;
	
	/*rounded corners*/
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -khtml-border-radius: 7px;
    border-radius: 7px;
}

#ltTertiary {
	background-color: #<%= ltTertiary %>;
	font-size: 100%;
	margin: 0px 0px 8px 0px;
	padding: 3px;
	text-align:left;
	
	/*rounded corners*/
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -khtml-border-radius: 7px;
    border-radius: 7px;
}

input:focus {
	border: 2px solid #CB9949;
}

fieldset {
	background-color: #<%= backgroundColor %>;
	border: 1px solid #<%= borderColor %>;
}

legend {
	letter-spacing: 0.5pt;
	color: #<%= formTitleColor %>;
	font-size: 140%;
}

.zebraOn {
	padding:5px;
}

.zebraOff {
	background-color:  #<%= borderColor %>;
	padding:5px;
}

.contentBlock {
	font-family: verdana;
	font-size: 0.8em;
	padding-left: 10px;
}
.contentBlock a{
	font-family: verdana;
	font-size: 0.9em;
	padding-left: 10px;
	color: #<%= linkColor %>;
}

.subheading {
	font-family: verdana;
	font-size: 0.8em;
	font-weight: bold;
	padding-bottom: 10px;
	padding-left: 5px;
}

.menuItem {
	padding: 0em;
	margin: 0em;
	width: 100%;
}

.menuItem:hover {
	background-color: #<%=hoverColor%>;
	
	/*rounded corners*/
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
}


/* iTrust Header */
#title {
	font-size: 100%;
	float: left;
	margin-right: 1em;
}

#iTrustHeader {
	width: 1600px;
	height: 125px;
	padding: 0em;
	background: #<%=primaryColor %>;
	vertical-align: bottom;
}

/* Main navigation formatting */
#iTrustLogo {
	width: 50%;
	float: left;
	padding-top: 10px;
}

#iTrustUserInfo {
	float: right;
	text-align: right;
	vertical-align: top; 
	margin-right: 20px;
	color:black;
}

/** This is the user inside iTrustUserInfo **/
#iTrustUser {
	float: right; 
	padding: 30px;
	text-align: center; 
	vertical-align: bottom; 
	margin-right: 20px;
	background-color: #<%= secondaryColor %>;
	
	/*rounded corners*/
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;
}

#iTrustSelectedPatient {
	width: 100%;
	float: right;
	text-align: right;
	background: #<%=primaryColor %>;
	border-top: 2px solid black;
}

.selectedPatient {
	color:black;
}

.selectedPatient a{
	color:black;
}

#iTrustNavLink {
	color: #<%= linkColor %>;
	font-size: 100%;
	text-decoration: none;
	vertical-align:bottom;
}

/* iTrust Menu */
#iTrustMenu {
	margin: 0em;
	float: left;
	position: relative;
	width: 12em;
	margin-right: 1em;
	height: 100%;
	background: #<%=primaryColor %>;	
}

#iTrustMenu a {
	color: <%= linkColor %>;
	font-weight: normal;
	font-size: 100%;
	text-decoration: none;
}


.iTrustMenuContents {
	min-height: 80px;
}

#iTrustMain {
	float: left;
	position: relative;
	margin: 0em;
	width: 100%;
	min-width: 800px;
}

/* Content Page */

#iTrustPage {
	position: relative;
	width: 100%;
	margin: 0em;
	margin-left: 12em;
	height: 100%;
}

#leftBorder, #rightBorder {
	float: left;
	min-width: 4em;
	min-height: 5em;
	height: 100%;
}

#rightBorder {
	float: right;
}

#iTrustContent {
	margin-right: auto;
	padding: 1em;
	position: relative;
	width: 80%;
	height: 100%;
	left: 4%;
	
	/*rounded corners*/
    -moz-border-radius: 0px 0px 10px 0px;
    -webkit-border-radius: 0px 0px 10px 0px;
    -khtml-border-radius: 0px 0px 10px 0px;
    border-radius: 0px 0px 10px 0px;
}

#iTrustFooter {
	float: left;
	position: relative;
	margin-top: 5px;
	border-top: 1px solid #336699;
	height: 2em;
	width: 100%;
	min-width: 800px;
	padding: 5px;
	background-color: #<%=secondaryColor%>;
	
	/*rounded corners*/
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    -khtml-border-radius: 15px;
    border-radius: 15px;
}


/* Formated table stuff */
.fTable {
	background-color: #<%= formBackgroundColor2 %>;
	border: 1px solid white;
	border-collapse: collapse;
}

.fTable th {
	background-color: #<%= formBackgroundColor %>;
	
	/*rounded corners*/
	-webkit-border-top-left-radius: 15px;
	-khtml-border-radius-topleft: 15px;	
	-moz-border-radius-topleft: 15px;
	border-top-left-radius: 15px;
	-webkit-border-top-right-radius: 15px;
	-khtml-border-radius-topright: 15px;	
	-moz-border-radius-topright: 15px;
	border-top-right-radius: 15px;
}

.fTable tr th {
	border: 1px solid white;
	font-size: 100%;
	padding-left: 4px;
	padding-right: 4px;
	white-space: nowrap;
}

.fTable tr td {
	border: 1px solid white;
	font-size: 100%;
	padding-left: 4px;
	padding-right: 4px;
}

.fTable .subHeader td {
	background-color: #<%= formBackgroundColor3 %>;
	color: #<%= formTitleColor %>;
	font-weight: bold;
	text-align: center;
	white-space: nowrap;
}

.fTable .subHeader th {
	background-color: #<%= formBackgroundColor3 %>;
	font-weight: bold;
	text-align: center;
	white-space: nowrap;
}

.fTable .subHeaderVertical {
	background-color: #<%= formBackgroundColor3 %>;
	font-weight: bold;
	text-align: left;
}

.iTrustError {
	color: #FF0000;
	font-weight: bold;
}

.iTrustMessage {
	color: #00AA88;
	font-weight: bold;
}

.filterEdit {
	border: 2px solid #292929;
	padding: 10px;
	background-color: silver;	
}

/* Calendar Formatting */
#calendarTable {
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	border-collapse:collapse;
}

#calendarTable td, #calendarTable th {
	font-size: 1em;
	background-color: #<%= "000000"%>;
	border:1px solid #<%= calendarHeadingColor%>;
	padding:3px 7px 2px 7px;
}

#calendarTable tr th {
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	background-color: #<%= calendarHeadingColor%>;
	color: #<%= secondaryColor%>;
}

#calendarTable tr td {
	height: 100px; 
	min-width: 120px;
	width: 150px;
	background-color: #<%= calendarBgColor%>;
}

#calendarTable tr td div.cell {
	height: 100px;
	min-width: 120px;
	width: 99%;
	vertical-align: top;
	overflow: auto;
}

#calendarTable tr td.today {
	background-color: #<%= calendarTodayColor%>;
}

#calendarTable .calendarEntry {
	padding: 5px 0px 0px 5px;
	font-size: 100%;
}

#calendarTable .conflict {
	font-weight: bold;
}

#calendarTable .calendarEntry a {
	font-size: 100%;
}
/* Transaction Page */

.transactionForm .right{
	text-align: right;
}

.transactionForm .left{
	text-align: left;
}

.transactionForm .center{
	text-align: center;
}

#transactionTable {
	margin-top: 5px;	
}

.transactionChart .yaxis {
	vertical-align: 100px;	
}

#fancyTable {
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	width:99%;
	border-collapse:collapse;
}

.fancyTable td, .fancyTable th {
	font-size:1em;
	background-color: #<%= calendarBgColor%>;
	border:1px solid #<%= calendarHeadingColor%>;
	padding:3px 7px 2px 7px;
}

.fancyTable th {
	font-size:1.1em;
	text-align:left;
	padding-top:5px;
	padding-bottom:4px;
	background-color:#<%= calendarHeadingColor%>;
	color:#<%= secondaryColor%>;
}

.fancyTable tr.alt td {
	color:#<%= calendarBgColor%>;
	background-color:#<%= calendarTodayColor%>;
}

/* Menu formatting */
.menu_category {
	padding-bottom: 0.5em;
	padding-left: 0.5em; 
}
			
.menu_category a {
	font-size: 100%;
	color: black;
	text-decoration: none;
}

.menu_category a:hover {	
	text-decoration: underline;
}

.menu_category span {
	font-size: 100%;
	font-weight: bold;
	color: black;
}

/* These links are only for testing purposes and are indicated such */
a.iTrustTestNavlink {
	color: black;
	text-decoration: none;
}

#UserSearch {
	padding:10px;
}

.hidden { 
	display: none; 
}

.unhidden { 
 	display: block; 
 }
 
 .invis { 
 	visibility: hidden; 
 }
 .vis { 
 	visibility: visible; 
 }
 
 #welcomeScreen {
 	width: 70%;
	position: relative;
	left: 4%;
 }
